from django.db import models

# Create your models here.
class CartTable(models.Model):
    id = models.AutoField(primary_key=True)
    user_id = models.CharField(max_length=10,default=10)
    goods_id = models.CharField(max_length=10,default=10)
    amount = models.IntegerField()
    total_price = models.DecimalField(max_digits=10,decimal_places=3)
    class Meta:
        db_table = 'shopping_cart'